
package clientTest;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

@WebService(name = "EHonestServicePortType", targetNamespace = "http://webservices.group6.pku.edu")
@SOAPBinding(use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface EHonestServicePortType {

	@WebMethod(operationName = "updateLevel", action = "")
	public void updateLevel(
			@WebParam(name = "uid", targetNamespace = "http://webservices.group6.pku.edu")
			int uid,
			@WebParam(name = "level", targetNamespace = "http://webservices.group6.pku.edu")
			int level);

	@WebMethod(operationName = "addRecord", action = "")
	public void addRecord(
			@WebParam(name = "uid", targetNamespace = "http://webservices.group6.pku.edu")
			int uid,
			@WebParam(name = "level", targetNamespace = "http://webservices.group6.pku.edu")
			int level);

	@WebMethod(operationName = "getLevel", action = "")
	@WebResult(name = "out", targetNamespace = "http://webservices.group6.pku.edu")
	public int getLevel(
			@WebParam(name = "uid", targetNamespace = "http://webservices.group6.pku.edu")
			int uid);

}
